package com.lyf.shop.services;

import com.lyf.shop.entity.User;

import javax.jws.soap.SOAPBinding;
import java.sql.SQLException;
import java.util.List;

public interface UserService {
    //通过用户名查找用户是否存在
    User findUserByUname(String username) ;
    //新增用户
    int addUser(User user);
    //邮件激活业务
    int activeUser(String email,String code);

    //获取所有用户数据
    List<User> userList();
    List<User> userList(String uname,String usex);

    //
    int deleteUser(int uid);
}
